home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / dtype / multipri.lha / MultiPrint / Source / SMakefile < prev    next >
Makefile  |  1995-08-08  |  2KB  |  85 lines

  1. #
  2. # $PROJECT: MultiPrint - print datatype objects
  3. #
  4. # $VER: SMakefile 39.0 (07.08.95)
  5. #
  6. # by
  7. #
  8. # Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
  9. #
  10. # (C) Copyright 1995
  11. # All Rights Reserved !
  12. #
  13. # $HISTORY:
  14. #
  15. # 07.08.95 : 039.000 : initial
  16. #
  17.  
  18. NAME     = MultiPrint
  19.  
  20. EXE      = /$(NAME)
  21.  
  22. HEADER   = MultiPrint.h
  23. SRCS     = MultiPrint.c Init.c
  24. OBJS     = MultiPrint.o Init.o
  25.  
  26. GST      = inc.gst
  27. GSTINC   = System.h
  28.  
  29. CD       = $(NAME).cd
  30. CDSRCS   = MultiPrint_Texts.h
  31.  
  32. DEPEND   = $(GST) $(HEADER) SMakefile
  33.  
  34. ##############################################################################
  35. #
  36. # SAS definition
  37. #
  38.  
  39. DEBUG      = DEBUG=LINE DEFINE=DEBUG
  40. SCOPTS     = VERBOSE NOSTKCHK STRINGMERGE GST $(GST)
  41. SLOPT      = NOICONS VERBOSE SMALLDATA SMALLCODE NODEBUG
  42. SCOPTIMIZE = CPU=68000
  43. LIB        = lib:amiga.lib lib:sc.lib lib:debug.lib
  44.  
  45. all: $(CDSRCS) $(GST) $(OBJS) $(EXE)
  46.  
  47. $(EXE): $(OBJS)
  48.     slink from $(OBJS) to $@ $(SLOPT) LIB $(LIB)
  49.  
  50. .c.o:
  51.     sc $(SCOPTS) $(DEBUG) $(SCOPTIMIZE) $(GSTOPTS) CSRC $*.c
  52.  
  53. ##############################################################################
  54. #
  55. # explicit dependencies
  56. #
  57. Init.o: Init.c $(DEPEND)
  58. MultiPrint.o: MultiPrint.c $(DEPEND)
  59.  
  60. ##############################################################################
  61. #
  62. # make SAS-C GST file
  63. #
  64.  
  65. $(GST): $(GSTINC)
  66.     sc MGST $(GST) $(GSTINC) NOOBJNAME NOICONS
  67.  
  68. ##############################################################################
  69. #
  70. # make locale stuff
  71. #
  72.  
  73. $(CDSRCS): $(CD)
  74.     c:catcomp $(CD) CFILE $@ NOARRAY NOCODE
  75.  
  76.  
  77. ##############################################################################
  78. #
  79. # clean up
  80. #
  81.  
  82. clean:
  83.     delete $(OBJS) $(GST)
  84.  
  85.